package com.dagit.core;

import java.util.ArrayList;
import java.util.List;


public class Configuration {
	private String logger;
	private List<String> hosts;
	private List<Integer> ports;
	private int localPort;
	public Configuration(){
		hosts = new ArrayList<String>();
		ports = new ArrayList<Integer>();
	}
	public String getLogger() {
		return logger;
	}
	public void setLogger(String logger) {
		this.logger = logger;
	}
	public List<String> getHosts() {
		return hosts;
	}
	public List<Integer> getPorts() {
		return ports;
	}
	public void addInstance(String hostName,Integer port){
		hosts.add(hostName);
		ports.add(port);
	}
	public int getLocalPort() {
		return localPort;
	}
	public void setLocalPort(int localPort) {
		this.localPort = localPort;
	}
	
}
